
import { log } from "console";
import { defineStore } from "pinia";
export const useTags = defineStore({
  id: "tags",
  state: () => {
    return {
      tags: <routeBread[]>[]
    }
  },
  actions: {
    setTags: function (route: routeBread) {
      this.tags.push(route)
    },
    delTags: function (index: any) {
      this.tags.splice(index, 1)
    }
  }
})